//
//  CWCommon.swift
//  CWWeibo06
//
//  Created by ycw on 2017/7/26.
//  Copyright © 2017年 xiaowei. All rights reserved.
//

import UIKit

//切换根视图控制器通知的通知名

let SwitchRootViewControllerNotification = "SwitchRootViewControllerNotification"

//首页加载cell的ID
let homeCellID = "homeCell"

//产生随机色
public func RandomColor() -> UIColor {
    
    return UIColor(red: CGFloat(arc4random_uniform(256)) / 255.0, green: CGFloat(arc4random_uniform(256)) / 255.0, blue: CGFloat(arc4random_uniform(256)) / 255.0, alpha: 1)
    
}

//首页子控件之间的间距
let homeCellMargin: CGFloat = 10

//屏幕宽度
let screenWidth: CGFloat = UIScreen.main.bounds.size.width

//屏幕高度
let screenHeight: CGFloat = UIScreen.main.bounds.size.height

//配图视图的cellID
let pictureID: String = "pictureCell"





